<ul>
    <li ng-repeat="tab in datasets track by $index">
        <button class="ubtn control-block"
                ng-class="{true:'ubtn-blue',false:'ubtn-white'}[$index == tabs.selected]"
                ng-click="tabs.onTabChange($index)"
                ng-bind="tab.label"></button>
    </li>
</ul>